package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 财务管理对象 car_finance
 * 
 * @author ruoyi
 * @date 2024-09-15
 */
public class CarFinance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自动ID */
    private Long id;

    /** 账单编号 */
    @Excel(name = "账单编号")
    private String feeNo;

    /** 关联订单 */
    @Excel(name = "关联订单")
    private String orderNo;

    /** 客户ID */
    @Excel(name = "客户ID")
    private Long customerId;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String customerName;

    /** 司机ID */
    @Excel(name = "司机ID")
    private Long driverId;

    /** 司机姓名 */
    @Excel(name = "司机姓名")
    private String driverName;

    /** 状态 */
    @Excel(name = "状态")
    private String state;

    /** 支付时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "支付时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date paymentTime;

    /** 退款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refundTime;

    /** 付款人 */
    @Excel(name = "付款人")
    private String payPerson;

    /** 退款人ID */
    @Excel(name = "退款人ID")
    private Long refundPersonId;

    /** 退款人姓名 */
    @Excel(name = "退款人姓名")
    private String refundPerson;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFeeNo(String feeNo) 
    {
        this.feeNo = feeNo;
    }

    public String getFeeNo() 
    {
        return feeNo;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setCustomerName(String customerName) 
    {
        this.customerName = customerName;
    }

    public String getCustomerName() 
    {
        return customerName;
    }
    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }
    public void setDriverName(String driverName) 
    {
        this.driverName = driverName;
    }

    public String getDriverName() 
    {
        return driverName;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setPaymentTime(Date paymentTime) 
    {
        this.paymentTime = paymentTime;
    }

    public Date getPaymentTime() 
    {
        return paymentTime;
    }
    public void setRefundTime(Date refundTime) 
    {
        this.refundTime = refundTime;
    }

    public Date getRefundTime() 
    {
        return refundTime;
    }
    public void setPayPerson(String payPerson) 
    {
        this.payPerson = payPerson;
    }

    public String getPayPerson() 
    {
        return payPerson;
    }
    public void setRefundPersonId(Long refundPersonId) 
    {
        this.refundPersonId = refundPersonId;
    }

    public Long getRefundPersonId() 
    {
        return refundPersonId;
    }
    public void setRefundPerson(String refundPerson) 
    {
        this.refundPerson = refundPerson;
    }

    public String getRefundPerson() 
    {
        return refundPerson;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("feeNo", getFeeNo())
            .append("orderNo", getOrderNo())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("driverId", getDriverId())
            .append("driverName", getDriverName())
            .append("state", getState())
            .append("paymentTime", getPaymentTime())
            .append("refundTime", getRefundTime())
            .append("payPerson", getPayPerson())
            .append("refundPersonId", getRefundPersonId())
            .append("refundPerson", getRefundPerson())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
